@echo off
set BUILD_TIME=%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,8%
rem set CARGO_PKG_VERSION_PRE="Alpha"
for /F %%i in ('git rev-parse HEAD') do (set HEAD_VERSION=%%i)
cargo build --release
rem https://github.com/upx/upx/releases
.\upx.exe target/release/ayisha.exe

rem CMD>>> for /F %i in ('git rev-parse HEAD') do (set HEAD_VERSION=%i)
rem bat>>> for /F %%i in ('git rev-parse HEAD') do (set HEAD_VERSION=%%i)